// 导出域名
//export const domain ='http://192.168.101.21:8081/'
 export const domain = 'http://192.168.101.200:8006/' //内网
//export const domain = 'http://192.168.101.73:9099/' //
//export const domain ="http://192.168.101.88:8080/"//辉哥
//  export const domain = 'http://172.16.16.13:14087/' //外侧
// export const domain = 'http://192.168.101.250:8080/' //红姐

/*内测环境*/
// const closedBeta = "https://intest-1258347995.cos.ap-guangzhou.myqcloud.com/app/"
// export const pic = closedBeta + "logo"
// export const voiceSure = closedBeta + 'voice/'
// export const picSure = closedBeta + 'sureimg/'

/*外测环境*/
//export const domain = 'http://outtest.innercs.suresvip.com/'
export const pic = 'https://outtest-1258347995.cos.ap-guangzhou.myqcloud.com/app/logo' //缩略图前缀路径外测
export const picSure = 'https://outtest-1258347995.cos.ap-guangzhou.myqcloud.com/app/sureimg/' //外测
export const voiceSure = 'https://outtest-1258347995.cos.ap-guangzhou.myqcloud.com/app/voice/' //外测

// const dependencies ="https://sureres-1258347995.cos.ap-guangzhou.myqcloud.com/app/"//正式环境语音,动态语音,缩略图前缀

/*正式环境*/
// export const domain = 'http://innercs.suresvip.com/'
// export const picSure = 'https://sureres-1258347995.cos.ap-guangzhou.myqcloud.com/app/sureimg/'// 动态图片
// export const voiceSure = 'https://sureres-1258347995.cos.ap-guangzhou.myqcloud.com/app/voice/'// 语音
// export const pic = 'https://sureres-1258347995.cos.ap-guangzhou.myqcloud.com/app/logo' //缩略图前缀路径内测


// 默认导出整个接口配置
export default {

  // 直播间背景默认前缀
  defaultImageUrl: '/voiceroombackgroundthumbnail/',
  // 礼物图片默认前缀
  defaultGiftImageUrl: "/gift/",
  // 头像框默认前缀
  defaultHeadImageUrl: "/avatarbox/",
  // 对话框图像默认前缀
  defaultDialogboxImageUrl: "/dialogbox/",
  // 座驾图像默认前缀
  defaultCarImageUrl: "/car/",
  // 话题图像默认前缀
  defaultTopicImageUrl: "/topic/",
  // 玩家头像
  userImageUrl: "/user/",

  // 上传图片通用接口
  uploadImageUrl: 'media/uploadImage.do',


// ----------------------登录注册
  // 登录
  loginUrl: '/fun/login.do',
  // 注册
  registerUrl: '/fun/register.save.do',
  //生成验证码
  yzmUrl: '/fun/yzm.do',
  // 退出登录
  exitLogin: '/fun/logout.do',
// ---------------------账号管理
  // 查询用户信息
  userInfoUrl: '/user/info.do',
  // 保存用户信息
  saveinfoURL: '/user/save.do',
  // 修改密码
  updateUserBaseUrl: '/data/user.update.do',
  //
  kuckLoginUrl: '/data/user.kucklogin.do',

// -------------------资源管理-基础设置


// ------------banner配置

  // 直播房间新banner 列表
  liveListUrl: '/live/banner.list.do',
  livesyncUrl: "/live/banner.sync.do",
  deleteLiveListUrl: '/live/banner.delete.do',
  livesaveUrl: '/live/banner.save.do',

  //-------------------直播小banner
  smallliveListUrl: '/room/banner.list.do',
  smalllivesyncUrl: '/room/banner.sync.do',
  smalldeleteLiveListUrl: '/room/banner.delete.do',
  smalllivesaveUrl: '/room/banner.save.do',

  //-------------------启动图--------
  qliveListUrl: "/startup/img.list.do",
  qlivesyncUrl: '/startup/img.sync.do',
  qdeleteLiveListUrl: '/startup/img.delete.do',
  qlivesaveUrl: '/startup/img.save.do',

  // 直播间背景列表
  voiceRoomBackgroundUrl: '/base/voiceRoomBackground.list.do',
  // 增加语音直播背景图片
  addvoiceRoomBackgroundUrl: '/base/voiceRoomBackground.save.do',

  // 同步直播间背景
  voiceRoomBackgroundSyncUrl: '/base/voiceRoomBackground.sync.do',

  // 删除背景图片数据
  deleteVoiceRoomBackgroundUrl: '/base/voiceRoomBackground.del.do',
  // 话题列表
  topicLisURL: '/base/topic.list.do',
  // 添加话题/编辑话题
  topicSaveURL: '/base/topic.save.do',
  // 删除话题
  topicDeleteURL: "base/topic.del.do",
  // 话题同步
  topicSyncURl: '/base/topic.sync.do',

  // 直播间置顶列表
  VVLiveRoomTopList: '/vvLiveRoomTop/VVLiveRoomTop.list.do',
  // 直播间置顶
  VVLiveRoomTopURl: '/vvLiveRoomTop/VVLiveRoomTop.save.do',
  // 更新 删除
  VVLiveRoomTopupdateURl: 'vvLiveRoomTop/VVLiveRoomTop.update.do',
// VVLiveRoomTopupdateURl
// 同步直播间置顶
  VVLiveRoomTopTopSyncURl: '/LiveRoomTop/LiveRoomTop.sync.do',

  // 直播间标识(配置列表)
  VVLiveRoomLabelManagerURl: '/room/labelmanager.list.do',
  // 直播间配置保存
  VVLiveRoomConfigSaveUrl: '/room/labelmanager.save.do',
  // 直播间配置同步
  VVLiveRoomConfigSyncURl: '/room/labelmanager.sycn.do',
  // 直播间配置删除
  VVLiveRoomConfigDeleteURl: '/room/labelmanager.delete.do',

  // 直播间标识(标签列表)
  lableListUrl: '/room/label.list.do',
  // 直播间标识(获取所有标签列表)
  allLableListUrl: '/room/label.alllabel.do',
  //标签图片地址
  defaultLableImageUrl: "/roomLabel/",
  // 直播间标识(标签保存)
  saveLableUrl: '/room/label.save.do',
  // 直播间标识(标签删除)
  deleteLableUrl: '/room/label.delete.do',
   // 标签同步：
  lableSyncUrl: '/room/label.sync.do',



  // ------------------------资源管理-商品配置
  // 礼物列表
  giftListUrl: '/live/gift.list.do',
  // 删除礼物
  giftDeleteDataUrl: '/live/gift.del.do',
  //  礼物上线
  gittPutawayUrl: '/live/gift.putaway.do',
  //  礼物下线
  giftSoldoutUrl: '/live/gift.soldout.do',
  //  礼物增加
  giftSaveUrl: '/live/gift.save.do',

  // 礼物同步：
  giftSyncUrl: '/live/gift.sync.do',


  //  头像框列表
  headBoxlistUrl: '/base/avatarBox.list.do',
  //  头像框删除
  headBoxDeleteUrl: '/base/avatarBox.del.do',
  // 头像框上线
  headBoxPutawayUrl: '/base/avatarBox.putaway.do',
  // 头像框下线
  headSoldoutUrl: '/base/avatarBox.soldout.do',
  // 头像框增加
  headBoxSaveUrl: '/base/avatarBox.save.do',
  // 头像框同步
  headBoxsyncUrl: '/base/avatarBox.sync.do',


  // 对话框列表
  dialogBoxlistUrl: '/base/dialogBox.list.do',
  //  对话框删除
  dialogBoxDeleteUrl: '/base/dialogBox.del.do',
  // 对话框上线
  dialogBoxPutawayUrl: '/base/dialogBox.putaway.do',
  // 对话框下线
  dialogBoxSoldoutUrl: '/base/dialogBox.soldout.do',
  // 对话框增加
  dialogBoxSaveUrl: '/base/dialogBox.save.do',
  // 对话框同步
  dialogBoxsyncUrl: '/base/dialogBox.sync.do',


  //座驾列表
  carlistUrl: '/live/car.list.do',
  // 座驾删除
  carDeleteUrl: '/live/car.del.do',
  //座驾上线
  carPutawayUrl: '/live/car.putaway.do',
  // 座驾下线
  carSoldoutUrl: '/live/car.soldout.do',
  // 座驾增加
  carSaveUrl: '/live/car.save.do',
  //座驾同步
  carsyncUrl: '/live/car.sync.do',


// ------------------------- 用户管理

  userInformationURL: '/data/user.details.do',

  //查询用户基础信息
  userBaseUrl: '/data/user.base.do',

  //解除用户
  // PUT
  cancelblockedUrl: '/data/user.cancelblocked.do',


  // 封禁用户
  // PUT
  blockedUserUrl: '/data/user.blocked.do',

  // PUT
  // 删除头像和个性前面等
  resetdataUserUrl: '/data/user.resetdata.do',
  // 删除动态
  deleteUsermomentUrl: '/data/moment.del.do',
  //  用户管理-操作记录
  getUserManagerLogUrl: '/operLog/getUserManagerLog.do',

  //封禁列表查询
  getProListURL: "/user/pro.list.do",
  //保存封禁信息
  saveProURL: "/user/pro.save.do",
  //删除封禁信息
  delProURL: "/user/pro.delete.do",
  //同步封禁信息
  sycnProURL: "/user/pro.sycn.do",


// -----------------------运维管理
  operationURL: '/operation/mongodb.search.do',

// ------------------------系统管理

  // 权限组列表
  roleGroupURL: '/roleGroup/combo.do',
  // 删除权限数据
  roleGroupDeleteUrl: '/roleGroup/delete.do',
  // 权限组信息
  roleGroupInfoUrl: '/roleGroup/info.do',
  // 添加编辑权限组
  roleGroupSaveOrUpdateUrl: '/roleGroup/saveOrUpdate.do',
  // 权限列表
  roleGroupListUrl: '/roleGroup/list.do',


  // 编辑用户信息
  editUserInfo: `/auth/user/personal/`,
  // 修改用户密码
  editUserPassword: '/auth/user/updatePassword',


  // ----------------------渠道表格
  // 获取渠道种类
  getChannelInfoURL: '/media/getChannelInfo.do',

  //渠道列表数据
  dayTotal: '/data/user.daytotal.do',

  // 营收表
  revenueListURL: '/data/base.revenue.do',//基础营收
  revenueTendency:'/data/revenue.tendency.do',//营收趋势 图
  hourEwvenueTendency:'/data/hourRevenue.tendency.do',//产品数据付费趋势
  exportBaserevenue:'/data/baserevenue.export.do',//导出基础营收
  getroomTop:'/data/room.top.do',//频道收入top榜
  getroomTopnormal:'/data/room.topnormal.do',//频道收入top正太分布
  exportroom:'/data/room.export.do',//导出频道收入top
  getuserconsume:'/data/userconsume.top.do',//用户付费
  getRechargeData:'/data/paytotal.do',//充值统计
  getAnchorTopnormal:'/data/anchor.topnormal.do',//主播收入top正太分布
  exportAnchor:'/data/anchor.export.do',//导出主播收入top
  getuserTopnormal:'/data/userconsume.topnormal.do',//用户付费top正太收入
  exportUserconsume:'/data/userconsume.export.do',//导出用户付费top
  exportItemTotal:"/stat/item.day.total.export.do",//导出道具赠送top
  exportpayTotal:'/data/paytotal.export.do',//导出充值统计
  // 绑定金倍发放
  // --------------------公会主播管理

  // 添加绑定金倍发放POST
  userbindblackUrl: '/money/userbindblack.save.do',
  // 绑定金贝列表
  rechargeListUrl: '/money/recharge.list.do',
  checkUserUrl: '/data/qureyUserName.do',

  // ********************公会主播资料 start **************************
  //### 公会资料
  familyAuditDataUrl: '/family/family.list.do',
  familyAuditUrl: '/family/family.audit.do',

  //### 公会主播资料
  familyInfoDataUrl: '/family/live.family.info.do',
  familyAnchorDataUrl: '/familyAnchor/family.anchors.do', // 公会主播列表
  liveAnchorInfoUrl: '/liveAnchor/live.anchor.info.do', // 公会主播列表

  //### 实名
  userCertificationDataUrl: '/family/user.certification.list.do',
  userCertificationImgUrl: '/family/user.certification.image.do', // 身份证正反面图片路径
  userCertificationSyncUrl: '/family/user.certification.sync.do', // 同步

  //### 开播设置
  liveSettingDataUrl: '/family/live/setup.do',
  liveSettingSaveUrl: '/family/live/setting.save.do',

  //### 开播达标设置
  liveStandardDataUrl: '/family/live/standard.get.do',
  liveStandardSaveUrl: '/family/live/standard.save.do',
  // ********************公会主播资料 end **************************

  // ********************佣金结算 start **************************
  //### 用户提现
  /*userWithdrawListUrl: "/base/userWithdraw.list.do",
  userWithdrawAuditUrl: '/base/userWithdraw.audit.do',
  userWithdrawInfoUrl: '/base/userWithdraw.info.do',*/
  liveExpenseListUrl: "/family/live.expense.list.do",
  liveExpenseAuditUrl: '/family/live.expense.audit.do',
  liveExpenseInfoUrl: '/family/live.expense.info.do',
  liveExpenseExportUrl: '/family/live.expense.export.do',
  liveExpenseExportListUrl: '/family/live.expense.export.list.do',

  //### 公会提现
  familyWithdrawDataUrl: '/base/familyWithdraw.list.do',
  familyWithdrawInfoUrl: '/base/familyWithdraw.info.do',
  familyWithdrawAuditUrl: '/base/familyWithdraw.audit.do',
  familyWithdrawExportUrl: '/base/familyWithdraw.export.do',

  //### 奖励发放
  rewardGrantDataUrl: '/family/reward.grant.list.do',
  rewardGrantDelUrl: '/family/reward.grant.del.do',
  rewardGrantAddUrl: '/family/reward.grant.add.do',
  rewardGrantExportUrl: '/family/reward.grant.export.do',

  //###补贴发放
  subsidyGrantDataUrl: '/family/subsidy.grant.list.do',
  subsidyGrantAddUrl: '/family/subsidy.grant.add.do',
  subsidyGrantDelUrl: '/family/subsidy.grant.del.do',
  subsidyGrantExportUrl: '/family/subsidy.grant.export.do',

  //佣金审核后台
  withdrawalAuditDataUrl: '/base/withdrawalAudit.list.do',
  withdrawalAuditDataAllUrl: '/base/withdrawalAudit.listall.do',
  withdrawalAuditInfoUrl: '/base/withdrawalAudit.info.do',  // 提现申请详情
  withdrawalAuditMyUrl: '/base/withdrawalAudit.my.do',
  withdrawalAuditMyCountUrl: '/base/withdrawalAudit.my.count.do',
  withdrawalAuditMyOneUrl: '/base/withdrawalAudit.my.one.do', // 我的审批，最近一条

  withdrawAuditDetailDataUrl: '/base/withdrawalAuditDetails.list.do', // 审批详情列表
  withdrawAuditUrl: '/base/withdrawalAuditDetails.approval.do', // 审批

  //### 审核流程设置
  withdrawAuditSettingSaveUrl: '/base/withdrawalAuditSettings.save.do',
  withdrawAuditSettingDataUrl: '/base/withdrawalAuditSettings.list.do',
  withdrawAuditSettingChkUrl: '/base/withdrawalAuditSettings.check.do',


  // ********************佣金结算 end **************************

  // ********************家族&主播**************************
  // 家族主播信息
  familyAnchorInfoUrl: '/familyAnchor/anchor.info.do',
  // 家族收益，主播收益家族分成统计
  familyProfitTotalUrl: '/stat/anchor/family.profit.do',
  // ********************家族&主播**************************

  //*********************数据中心 */
  getRemainTendency: '/data/remain.tendency.do',//get 查询用户留存率趋势
  exportRemain: '/data/remain.export.do',//get 导出用户留存率excel
  searchRemain: "/data/remain.total.do",//查询用户留存率
  getChannelList: '/data/config.channel.do',//获取渠道权限
  getVersionList: '/data/config.version.do',//获取版本权限
  postRemainTendency: '/data/remain.total.do',//post 查询用户留存率趋势
  exportData: "/data/remain.export.do",//导出
  getitemTotalData:'/stat/item.day.total.do',//道具赠送统计
  itemTotalDataExport:'/stat/item.day.total.export.do',//道具赠送统计导出
  getdayActive:'/data/active.activecu.do',//日活cu趋势图
//--------------------------新增设备
  getnewActiveDataList: '/data/newdevice.tendency.do',//新增活跃设备
  getuseTimeratioData:'/data/active.usetimeratio.do',//前台使用占比
  getActiveTable:'/data/active.table.do',//活跃表
  getanchorTopData:'/data/anchor.top.do',//获取主播收入top
  exportchannelquality:'/data/channelquality.export.do',//导出渠道质量表
  exportversiondata:'/data/versiondata.export.do',//导出版本控制
//---------------------------渠道质量表
  getnewdeviceList: '/data/newdevice.channelquality.do',
  getversiondata: '/data/newdevice.versiondata.do',//查询版本数据

//-----------------------------营收
  getRevenue: '/data/revenue.tendency.do',//获取营收统计

//----------------------------活跃设备

getActiveData:'/data/active.tendency.do',
exportActiveTable:'/data/avtive.export.do',//导出活跃表
  /*礼物标签*/
  //礼物标签查询
  giftLabelListURL:"/gift/tabel.list.do",
  //礼物标签保存
  giftLabelSaveURL:"/gift/tabel.save.do",
  //礼物标签删除
  giftLabelDeleteURL:"/gift/tabel.delete.do",
  //礼物标签同步
  giftLabelSycnURL:"/gift/tabel.sycn.do",

  //----------------------------直播间数据
getbeginData:'/data/room.open.do',//语音房开播情况
getListenData:'/data/room.listen.do',//语音房收听情况
getQualityData:'/data/room.quality.do',//语音房质量

}


